<?php
if ( ! defined('DIR_ROOT')) exit(NO_SCRIPT_ALLOW_NOTICE);
/**
 * @author Terry
 *
 */
class Test extends Controller
{
	
	/**construct function
	 * @return unknown_type
	 */
	function Test()
	{
		parent::Controller();
	}
	
	function index()
	{
	    echo 'hello world';
	    echo 'here is in test controller!'."<br/>";
	}
	
	function show($msg="here to echo something;")
	{

	    if(!isset($msg))
	    {
	        $msg = "q12314";
	    }
	    echo 'show hand ! here is the message?'.$msg;
	}
	
	function user_view()
	{
	    $data['msg'] = 'this is in the template file';
	    $data['error'] = 1;
//	    view('admin/alert.html',$data);
		model('user', 'get_user_list', '');
	}
}
